package nc.ui.gsp.hf054428;

import java.awt.Container;

import nc.ui.medpub.pub.sourceref.ZZBillSourceDLG;
import nc.vo.trade.pub.IBillStatus;

@SuppressWarnings("serial")
public class SourceRefDlgBhgxhsqToBhgxhjl extends ZZBillSourceDLG{

	public SourceRefDlgBhgxhsqToBhgxhjl(String pkField, String pkCorp,
			String operator, String funNode, String queryWhere,
			String billType, String businessType, String templateId,
			String currentBillType, Container parent) {
		super(pkField, pkCorp, operator, funNode, queryWhere, billType, businessType,
				templateId, currentBillType, parent);
	}

	public SourceRefDlgBhgxhsqToBhgxhjl(String pkField, String pkCorp,
			String operator, String funNode, String queryWhere,
			String billType, String businessType, String templateId,
			String currentBillType, String nodeKey, Object userObj,
			Container parent) {
		super(pkField, pkCorp, operator, funNode, queryWhere, billType, businessType,
				templateId, currentBillType, nodeKey, userObj, parent);
	}
	/**
	 * @see nc.ui.pub.pf.BillSourceDLG#getHeadCondition()
	 */
	@Override
	public String getHeadCondition() {
		return " pk_bhgxhsq not in (select csourcebillid from gsp_bhgxhjl where nvl(dr,0)=0) and nvl(dr,0)=0 and pk_billtype='HFIJ'  and pk_corp='"+this.getPkCorp()+"' and vbillstatus="+IBillStatus.CHECKPASS;
	}


}
